package cn.rdq.dao;

import cn.rdq.api.dto.BlogDetailDto;
import cn.rdq.api.dto.BlogShowDto;
import cn.rdq.api.po.Blog;
import cn.rdq.api.vo.BlogVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BlogMapper extends BaseMapper<Blog> {

    List<BlogShowDto> listBlogBrief(BlogVo blogVo);

    BlogDetailDto getDetailById(Long blogId);

}
